del "%TARGETDIR%%PROJECTNAME%With*.dll" /S

%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithCa.dll %TARGETDIR%%PROJECTNAME%.dll %TARGETDIR%\ca\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithCs.dll %TARGETDIR%%PROJECTNAME%WithCa.dll %TARGETDIR%\cs\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithDa.dll %TARGETDIR%%PROJECTNAME%WithCs.dll %TARGETDIR%\da\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithDe.dll %TARGETDIR%%PROJECTNAME%WithDa.dll %TARGETDIR%\de\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithEn.dll %TARGETDIR%%PROJECTNAME%WithDe.dll %TARGETDIR%\en\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithEs.dll %TARGETDIR%%PROJECTNAME%WithEn.dll %TARGETDIR%\es\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithFi.dll %TARGETDIR%%PROJECTNAME%WithEs.dll %TARGETDIR%\fi\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithFr.dll %TARGETDIR%%PROJECTNAME%WithFi.dll %TARGETDIR%\fr\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithHe.dll %TARGETDIR%%PROJECTNAME%WithFr.dll %TARGETDIR%\he\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithIt.dll %TARGETDIR%%PROJECTNAME%WithHe.dll %TARGETDIR%\it\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithJa.dll %TARGETDIR%%PROJECTNAME%WithIt.dll %TARGETDIR%\ja\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithNl.dll %TARGETDIR%%PROJECTNAME%WithJa.dll %TARGETDIR%\nl\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithNo.dll %TARGETDIR%%PROJECTNAME%WithNl.dll %TARGETDIR%\no\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithPl.dll %TARGETDIR%%PROJECTNAME%WithNo.dll %TARGETDIR%\pl\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithPt.dll %TARGETDIR%%PROJECTNAME%WithPl.dll %TARGETDIR%\pt\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithRu.dll %TARGETDIR%%PROJECTNAME%WithPt.dll %TARGETDIR%\ru\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithSk.dll %TARGETDIR%%PROJECTNAME%WithRu.dll %TARGETDIR%\sk\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithSv.dll %TARGETDIR%%PROJECTNAME%WithSk.dll %TARGETDIR%\sv\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithZh-CN.dll %TARGETDIR%%PROJECTNAME%WithSv.dll %TARGETDIR%\zh-CN\%PROJECTNAME%.resources.dll
%PROGRAMFILES%\Microsoft\ILMerge\ilmerge.exe /target:library /out:%TARGETDIR%%PROJECTNAME%WithRes.dll %TARGETDIR%%PROJECTNAME%WithZh-CN.dll %TARGETDIR%\zh-TW\%PROJECTNAME%.resources.dll

REM del %PROJECTNAME%.resources.dll /Q /S